package com.ecloud.support.generator.model.convert;

import java.util.List;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import com.ecloud.support.generator.model.dto.TemplateSetDto;
import com.ecloud.support.generator.model.entity.TemplateSetPo;
import com.ecloud.support.generator.model.vo.TemplateSetVo;

@Mapper
public interface TemplateSetConverter {
    TemplateSetConverter INSTANCE = Mappers.getMapper(TemplateSetConverter.class);

    TemplateSetPo dtoToPo(TemplateSetDto dto);

    List<TemplateSetPo> dtoToPo(List<TemplateSetDto> dtos);

    TemplateSetVo poToVo(TemplateSetPo po);

    List<TemplateSetVo> poToVo(List<TemplateSetPo> pos);
}
